package com.ruoyi.business.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付宝服务商信息对象 t_isv_info
 *
 * @author ruoyi
 * @date 2024-03-18
 */
@Data
public class TIsvInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 服务商名称 */
    @Excel(name = "服务商名称")
    private String isvName;

    /** 支付宝APPID */
    @Excel(name = "支付宝APPID")
    private String isvAppId;

    /** 支付宝公钥路径 */
    @Excel(name = "支付宝公钥路径")
    private String isvAliPublicPath;

    /** 支付宝私钥 */
    @Excel(name = "支付宝私钥")
    private String isvAliPrivateKey;

    /** 应用公钥路径 */
    @Excel(name = "应用公钥路径")
    private String isvAppPublicPath;

    /** 支付宝公钥路径 */
    @Excel(name = "支付宝公钥路径")
    private String isvAliRootPath;

    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private Integer status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUser;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUser;

    private Integer isvType;

    private String userId;

    private String userName;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIsvName(String isvName)
    {
        this.isvName = isvName;
    }

    public String getIsvName()
    {
        return isvName;
    }
    public void setIsvAppId(String isvAppId)
    {
        this.isvAppId = isvAppId;
    }

    public String getIsvAppId()
    {
        return isvAppId;
    }
    public void setIsvAliPublicPath(String isvAliPublicPath)
    {
        this.isvAliPublicPath = isvAliPublicPath;
    }

    public String getIsvAliPublicPath()
    {
        return isvAliPublicPath;
    }
    public void setIsvAliPrivateKey(String isvAliPrivateKey)
    {
        this.isvAliPrivateKey = isvAliPrivateKey;
    }

    public String getIsvAliPrivateKey()
    {
        return isvAliPrivateKey;
    }
    public void setIsvAppPublicPath(String isvAppPublicPath)
    {
        this.isvAppPublicPath = isvAppPublicPath;
    }

    public String getIsvAppPublicPath()
    {
        return isvAppPublicPath;
    }
    public void setIsvAppRootPath(String isvAliRootPath)
    {
        this.isvAliRootPath = isvAliRootPath;
    }

    public String getIsvAppRootPath()
    {
        return isvAliRootPath;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }

    public Long getCreateUser()
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser()
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("isvName", getIsvName())
                .append("isvAppId", getIsvAppId())
                .append("isvAliPublicPath", getIsvAliPublicPath())
                .append("isvAliPrivateKey", getIsvAliPrivateKey())
                .append("isvAppPublicPath", getIsvAppPublicPath())
                .append("isvAliRootPath", getIsvAppRootPath())
                .append("status", getStatus())
                .append("createUser", getCreateUser())
                .append("createTime", getCreateTime())
                .append("updateUser", getUpdateUser())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
